tests: Avoid musl failure with `cp -a`
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 31 Oct 2019 17:09:36 +0000 (17:09 +0000)
committerAlex Kiernan <alex.kiernan@gmail.com>
Fri, 1 Nov 2019 05:05:53 +0000 (05:05 +0000)
commitabf1a7392b2fa1945286a39a35190d74fe141e52
tree295276768574fc39f462b3b78d14f0037b39a7f1
parent3d48021fb0892721fab8359b49470e521aaed493
tests: Avoid musl failure with `cp -a`

When copying the tree, using musl and GNU coreutils, something gets confused
when setting the ownership of symlinks and the copy fails with:

  cp: failed to preserve ownership for osdata-devel/bin: Not supported

Rework using tar to avoid the problem.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
tests/libtest.sh
tests/test-admin-gpg.sh